﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    Codebehind="Capacity_Modify.aspx.cs" Inherits="WebUI.Capacity.Capacity_Modify" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 580px; height: 275px">
        <tr>
            <td style="width: 106px">
                <asp:Label ID="lbCarriersSNLab" runat="server" Text="运单编号："></asp:Label></td>
            <td style="width: 108px">
                <asp:TextBox ID="txtCarriersSN" runat="server" ForeColor="#404040"></asp:TextBox></td>
                     <td style="text-align:left">
                         &nbsp;<asp:RegularExpressionValidator ID="REValidatorCarriersSNLab" runat="server" ControlToValidate="txtCarriersSN"
                    ErrorMessage="*" ValidationExpression="\d*">对不起！你输入的不是数字</asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RFValidatorCarriersSNLab" runat="server" ControlToValidate="txtCarriersSN"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                发送时间：</td>
            <td style="width: 108px; text-align: left;">
                <asp:TextBox ID="txtSendTime" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                     <td style="text-align:left"><asp:RequiredFieldValidator ID="RFValidatorSendTime" runat="server" ControlToValidate="txtSendTime"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorSendTime" runat="server" ControlToValidate="txtSendTime"
                    ErrorMessage="*" ValidationExpression="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$">对不起！你输入的时间格式不正确。例如：2008-08-08</asp:RegularExpressionValidator>&nbsp;</td>
        </tr>
        <tr>
            <td style="width: 106px">
                发送地点：</td>
            <td style="width: 108px">
                <asp:TextBox ID="txtSendPoint" runat="server" ForeColor="#404040"></asp:TextBox>
               </td>
                     <td style="text-align:left"> <asp:RequiredFieldValidator ID="RFValidatorSendPoint" runat="server" ControlToValidate="txtSendPoint"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                接收地点：</td>
            <td style="width: 108px; text-align: left;">
                <asp:TextBox ID="txtReceivingPoint" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                     <td style="text-align:left"><asp:RequiredFieldValidator ID="RFValidatorReceivingPoint" runat="server" ControlToValidate="txtReceivingPoint"
                    ErrorMessage="*">对不起！此项不能为空</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px; height: 21px">
                承运车队：</td>
            <td style="width: 108px; height: 21px; text-align: left">
                <asp:DropDownList ID="ddrCarsList" runat="server" AutoPostBack="True" OnTextChanged="ddrCarsList_TextChanged"
                    Visible="False" ForeColor="#404040">
                </asp:DropDownList>
                <asp:CheckBox ID="cbkCarogCars" runat="server" AutoPostBack="True" Checked="True"
                    OnCheckedChanged="cbkCarogCars_CheckedChanged" Text="无车队" /></td>
                    
        </tr>
        <tr>
            <td style="width: 106px; height: 24px">
                车运车辆：</td>
            <td style="width: 108px; height: 24px; text-align: left">
                <asp:DropDownList ID="ddrVehicleList" runat="server" ForeColor="#404040">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 106px">
                发送状态：</td>
            <td style="width: 108px; text-align: left">
                <asp:DropDownList ID="ddrCarriersState" runat="server" ForeColor="#404040">
                    <asp:ListItem>待审核</asp:ListItem>
                    <asp:ListItem>已发货</asp:ListItem>
                    <asp:ListItem>已到货</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td colspan="2" style="height: 26px">
                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="保存" ForeColor="#404040" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="重置" ForeColor="#404040" /></td>
        </tr>
    </table>
</asp:Content>
